import { ref } from 'vue'
import { defineStore } from 'pinia'
import { StoresKey } from '@/common/constants'

export const useHtmlThemeStore = defineStore(StoresKey.HTML_THEME, () => {
  const themeLight = ref(true)

  const setThemeLight = (value: boolean) => {
    themeLight.value = value
    console.debug('themeLight', themeLight.value)
  }

  return { themeLight, setThemeLight }
})
